﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Marbles.Core.Logging
{
    public class LogEntry
    {
        public string Source { get { return this._source; } set { this._source = value; } }
        public string Message { get { return this._Message; } set { this._Message = value; } }
        public string Title { get { return this._Title; } set { this._Title = value; } }
        public DateTime TimeStamp { get { return this._TimeStamp; } set { this._TimeStamp = value; } }
        public EntryType Type { get { return this._Type; } set { this._Type = value; } }
        public int EventID { get { return this._EventId; } set { this._EventId = value; } }

        private int _EventId = 0;
        private string _source = string.Empty;
        private string _Message = string.Empty;
        private string _Title = string.Empty;
        private DateTime _TimeStamp = DateTime.Now;
        private EntryType _Type = EntryType.Information;
    }

    public enum EntryType
    {
        Error, FailureAudit, Information, SuccessAudit, Warning
    }
}
